<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>数据展示平台</title>
    <link rel="stylesheet" href="css/display_platform/cssreset-min.css">
    <link rel="stylesheet" type="text/css" href="css/display_platform/newDay.css" />
    <script type="text/javascript" src="js/display_platform/rem.js"></script>
    <script type="text/javascript" src="js/display_platform/jquery.js"></script>
    <script type="text/javascript" src="js/display_platform/we.js"></script>
    <script type="text/javascript" src="js/display_platform/echarts.js"></script>
    <script type="text/javascript" src="js/lib/Highcharts/5.0.6/js/highcharts.js"></script>
</head>
<body >
    <!-- 大背景图片 -->
    <div class="b_g">
        <img src="image/display_platform/body_bg.png" class="bg_img"/>
    </div>

    <!-- 时间和天气 -->
    <header id="header" class="header">
        <img src="image/display_platform/title_bg.png" class="header_bg">
        <img src="image/display_platform/bg_text.png" class="header_text">
        <div class="time_txt">
            <div id="demo2">
                <!-- 时间 -->
                <script>$('#demo2').leoweather();</script>
            </div>
        </div>
        <div class="weather_txt">
            <div id="demo">
                <!-- 天气 -->
                <!--<script>$('#demo').leoweather({format:'<span>{城市} {天气} </span>{气温}℃'});</script>-->
                <iframe  id="myFrame" name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=99"  allowtransparency="true" width="160" height="36" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
            </div>
        </div>
    </header>

    <!-- 站点top5 -->
    <div class="top_5">
        <!-- top5标题 -->
        <span class="top_5_title">网点交易额排名TOP5</span>
        <div class="top_5_inner">
        </div>
    </div>

    <!-- 总交易额和具体订单 -->

    <div class="allMoneyOrder">
        <!-- 今日交易额标题 -->
        <span class="allMoney_text">总交易额</span>
        <!-- 今日交易额度 -->
        <span class="all_money"></span>

        <!-- 具体订单title -->
        <div class="specific_order">
            <p class="order_title order_title_phone">手机号码</p>
            <p class="order_title order_title_plate">车牌</p>
            <p class="order_title order_title_money">金额(元)</p>
        </div>

        <!-- 具体订单信息 -->
        <div class="specific_order_info_margin">
            <div class="specific_order_info"></div>
        </div>
    </div>

    <!-- 今日和昨日交易额 -->
    <div class="day_money_ing">
        <!-- 今天 -->
        <p class="day_money_title">今日交易金额</p>
        <p class="day_money_inner"></p>
        <!-- 昨天 -->
        <p class="yesterday_money_title">昨日交易金额</p>
        <p class="yesterday_money_inner"></p>
    </div>

    <!-- 用户总数 -->
    <div class="allTotal">
        <span class="allTotal_i"><img src="image/display_platform/info.png" alt=""></span>
        <span class="allTotal_title">用户总数</span>
        <p class="allTotal_much"></p>
    </div>

    <!-- 成交订单数 -->
    <div class="olderNumber">
        <span class="olderNumber_i"><img src="image/display_platform/order.png" alt=""></span>
        <span class="olderNumber_title">成交订单总数</span>
        <p class="olderNumber_much"></p>
    </div>

    <!-- 西安地图 -->
    <div class="map">
        <div id="mainMap" class="mainMap"></div>
    </div>
    <!-- 折线图 -->
    <div class="zhexiantu">
        <div id="container" class="container"></div>
    </div>

    <script type="text/javascript" src="js/display_platform/day.js"></script>
    <script type="text/javascript">

        new DayData(); // 数据请求


//
//        var x=document.getElementById("myFrame");
//        var y=(x.contentWindow || x.contentDocument);
//        if (y.document)y=y.document;
//        y.body.style.fontSize="50px";



        var deptObjs= document.getElementById("myFrame").contentWindow.document.getElementsByClassName("box");
        alert(deptObjs.length);

                        console.log(deptObjs.length);
        /*for(var i=0;i<deptObjs.length;i++){
            var tmp=deptObjs[i];
            console.log(tmp.className);
            if(tmp.className=="box"){
                //alert(tmp.style.display);
                tmp.style.fontSize_sizes="50px";
                tmp.style.color="#fff";
                //alert(tmp.style.display);
            }
        }*/

    </script>
</body>
</html>